﻿using System;
using System.Collections.Generic;

namespace WeatherHistory.Data.Entities;

public class Weather : EntityBase
{
    public long Id { get; set; }
    public float Temperature { get; set; }
    public float Humidity { get; set; }
    public float WindSpeed { get; set; }
    public string WeatherCondition { get; set; }
    public float PrecipitationAmount { get; set; }
    public DateTime MeasurementDateTime { get; set; }

    public virtual ICollection<Region> Regions { get; set; }
    public virtual ICollection<Forecast> Forecasts { get; set; }
    public virtual ICollection<WeatherForecastRelation> WeatherForecastRelations { get; set; }
    public virtual ICollection<WeatherRegionRelation> WeatherRegionRelations { get; set; }
}